<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>octant.sw</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="octant-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="octant-module.html">Package&nbsp;octant</a> ::
        Package&nbsp;sw
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<!-- ==================== PACKAGE DESCRIPTION ==================== -->
<h1 class="epydoc">Package sw</h1><p class="nomargin-top"><span class="codelink"><a href="octant.sw-pysrc.html">source&nbsp;code</a></span></p>
<pre class="literalblock">

Seawater -- Python functions for properties of sea water
   Bj&#248;rn &#197;dlandsvik &lt;bjorn@imr.no&gt;,
   Institute of Marine Research,
   Version 1.1, 13 November 2002

Public functions:
Density related
  dens(S,T,P)           Density of sea water              kg/m**3
  delta(S,T,P)          Specific volume anomaly           m**3/kg
  sigma(S,T,P)          Density anomaly                   kg/m**3
  drhodt(S,T,P)         Temperature derivative of density kg/(K*m**3)
  alpha(S,T,P)          Thermal expansion coefficient     1/K 
  drhods(S,T,P)         Salinity derivative of density    kg/m**3
  beta(S,T,P)           Salinity expansion coefficient
  
Salinity related
  salt(R,T,P)           Salinity
  cond(S,T,P)           Conductivity ratio

Heat related
  heatcap(S,T,P)        Heat capacity                     J/(kg*K)
  adtgrad(S,T,P)        Adiabatic lapse rate              K/dbar
  temppot(S,T,P,Pref)   Potential temperature             &#176;C
  temppot0(S,T,P)       Potential temperature             &#176;C
  
Miscellaneous
  freezept(S,P)         Freezing point                    &#176;C
  soundvel(S,T,P)       Sound velocity                    m/s
  depth(P,lat)          Depth                             m

Arguments:
  S     = Salinity                 
  T     = Temperature               &#176;C
  P     = Pressure                  dbar 
  R     = Conductivity ratio
  Pref  = Reference pressure        dbar
  lat   = Latitude                  deg

References:
  [Bryden 1973], New polynomials for thermal expansion, adiabatic
  temperature gradient and potential temperature gradient of sea water
  Deep-Sea Res. 20, 401-408

  [UNESCO 1981], Tenth report of the joint panel on oceanographic
  tables and standards, Unesco technical papers in marine science 36.

  [UNESCO 1983], N.P. Fofonoff and R.C. Millard Jr., Algorithms for
  computation of fundamental properties of seawater, Unesco technical
  papers in marine science 44.

</pre>

<!-- ==================== SUBMODULES ==================== -->
<a name="section-Submodules"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Submodules</span></td>
</tr>
  <tr><td class="summary">
  <ul class="nomargin">
    <li> <strong class="uidlink"><a href="octant.sw.density-module.html">octant.sw.density</a></strong>: <em class="summary">Seawater density module</em>    </li>
    <li> <strong class="uidlink"><a href="octant.sw.heat-module.html">octant.sw.heat</a></strong>: <em class="summary">Seawater heat module</em>    </li>
    <li> <strong class="uidlink"><a href="octant.sw.misc-module.html">octant.sw.misc</a></strong>: <em class="summary">Miscellaneous sea water functions</em>    </li>
    <li> <strong class="uidlink"><a href="octant.sw.salinity-module.html">octant.sw.salinity</a></strong>: <em class="summary">Seawater salinity module, providing salt and cond functions</em>    </li>
    <li> <strong class="uidlink"><a href="octant.sw.test-module.html">octant.sw.test</a></strong>    </li>
  </ul></td></tr>
</table>

<br />
<!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Classes</span></td>
</tr>
<tr>
    <td class="summary" colspan="2">
        <a href="octant.sw.OutOfRangeError-class.html" class="summary-name">OutOfRangeError</a>
    </td>
  </tr>
</table>
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="octant-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Mon Apr 20 11:56:30 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
